SmartPay\Modules\Payment\Payment S

Total Complexity 40
Dependencies 6
Dependents 2
Total lines 269
Lines of code 186
Logical lines of code 102
Comment lines 15
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
ajax_process_payment()
A
53 8 22
_get_payment_data()
S
50 7 29
insertPayment()
S
52 5 22
_process_gateway_payment()
S
59 4 13
_get_payment_customer()
S
55 3 20
onPaymentCancel()
S
67 4 7
_prepare_payment_data()
S
53 2 20
registerRestRoutes()
S
51 1 32
onPaymentComplete()
S
66 3 8
_checkValidation()
S
71 2 5
__construct()
S
66 1 8